﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RBS.Core.BLL
{
    public class V_Guest
    {
        private readonly RBS.Core.DAL.V_Guest dal = new RBS.Core.DAL.V_Guest();
        public List<RBS.Core.Model.V_Guest> GetModelList(int OrderId)
        {
            return dal.GetModel(OrderId);
        }
          
        public int GetRecordCount(int orderid ,int userid)
        {
            return dal.GetRecordCount(" orderid=" + orderid + " and GuestId=" + userid + "");
        }
    }
}
